//
//  Video.h
//  TheAVPlayer
//
//  Created by hbl on 16/2/3.
//  Copyright © 2016年 hbl. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@protocol MyVideoDelegate <NSObject>
- (void)toFull:(BOOL)isFull;
@end
@interface Video : UIView
+ (instancetype)playVideo;
@property (nonatomic, strong)AVPlayerItem *item;
@property (nonatomic, weak)id<MyVideoDelegate> delegate;
@property (nonatomic, strong)AVPlayer *myPlayer;
@end
